package com.wanchuang.qhbb.view.machines;

import com.chad.library.adapter.base.entity.node.BaseNode;
import com.chad.library.adapter.base.provider.BaseNodeProvider;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.wanchuang.qhbb.R;

import org.jetbrains.annotations.NotNull;

public class ThreeNodeProvider extends BaseNodeProvider {

    @Override
    public int getItemViewType() {
        return 2;
    }

    @Override
    public int getLayoutId() {
        return R.layout.def_section_three;
    }

    @Override
    public void convert(@NotNull BaseViewHolder helper, @NotNull BaseNode data) {
        // 数据类型需要自己强转
        ThreeNode entity = (ThreeNode) data;
//        helper.setText(R.id.item, entity.getItem());
    }
}

